// game resources
var g_resources = [
{ // TileSet mystery_forest
    name: "mystery_forest",
    type: "image",
    src: "data/Tilesets/mystery_forest.png"
},
{ // TileSet mystery_forest_future
    name: "mystery_forest_future",
    type: "image",
    src: "data/Tilesets/mystery_forest_future.png"
},
{
    name: "tree_3_future",
    type: "image",
    src: "data/sprite/tree_3_future.png"
},
{ // TileSet nathan
    name: "tileset_nathan",
    type: "image",
    src: "data/Tilesets/tileset_nathan.png"
},
{ // TileSet Platformer Demo
    name: "tileset_platformer",
    type: "image",
    src: "data/Tilesets/tileset_platformer.png"
},
{ // TileSet Collision
    name: "meta",
    type: "image",
    src: "data/Tilesets/metatiles32x32.png"
},
{ // Level 01 Present Map
    name: "level_1_present",
    type: "tmx",
    src: "data/level_1_present.tmx"
},
{ // Level 01 Past Map
    name: "level_1_past",
    type: "tmx",
    src: "data/level_1_past.tmx"
},
{ // Level 01 Future Map
    name: "level_1_future",
    type: "tmx",
    src: "data/level_1_future.tmx"
},
{ // Level 02 Present Map
    name: "level_2_present",
    type: "tmx",
    src: "data/level_2_present.tmx"
},
{ // Level 02 Past Map
    name: "level_2_past",
    type: "tmx",
    src: "data/level_2_past.tmx"
},
{ // Level 02 Future Map
    name: "level_2_future",
    type: "tmx",
    src: "data/level_2_future.tmx"
},
{ // Level 03 Present Map
    name: "level_3_present",
    type: "tmx",
    src: "data/level_3_present.tmx"
},
{ // Level 03 Past Map
    name: "level_3_past",
    type: "tmx",
    src: "data/level_3_past.tmx"
},
{ // Level 03 Future Map
    name: "level_3_future",
    type: "tmx",
    src: "data/level_3_future.tmx"
},
{ // Level 04 Present Map
    name: "level_4_present",
    type: "tmx",
    src: "data/level_4_present.tmx"
},
{ // Level 04 Past Map
    name: "level_4_past",
    type: "tmx",
    src: "data/level_4_past.tmx"
},
{ // Level 04 Future Map
    name: "level_4_future",
    type: "tmx",
    src: "data/level_4_future.tmx"
},
{ // Level 05 Present Map
    name: "level_5_present",
    type: "tmx",
    src: "data/level_5_present.tmx"
},
{ // Level 05 Past Map
    name: "level_5_past",
    type: "tmx",
    src: "data/level_5_past.tmx"
},
{ // Level 05 Future Map
    name: "level_5_future",
    type: "tmx",
    src: "data/level_5_future.tmx"
},
{
	name: "grandfather",
	type: "image",
	src: "data/sprite/grandfather.png"
},
{
    name: "background0",
    type: "image",
    src: "data/Parallax/background0.png"
},
{
    name: "background02_a",
    type: "image",
    src: "data/Parallax/background02_a.png"
},
{ 
    name: "background02_b",
    type: "image",
    src: "data/Parallax/background02_b.png"
},{
    name: "background03_a",
    type: "image",
    src: "data/Parallax/background03_a.png"
},
{
    name: "background03_b",
    type: "image",
    src: "data/Parallax/background03_b.png"
},
{
    name: "credits",
    type: "image",
    src: "data/GUI/credits.png"
},
{ // the seed spritesheet
    name: "plant_1",
    type: "image",
    src: "data/sprite/plant_1.png"
},
{ // the seed spritesheet
    name: "plant_2",
    type: "image",
    src: "data/sprite/plant_2.png"
},
{
    name: "plant_3",
    type: "image",
    src: "data/sprite/plant_3.png"
},
{ // the seed spritesheet
    name: "tree_3",
    type: "image",
    src: "data/sprite/tree_3.png"
},
{ // Boy spritesheet
    name: "boy",
    type: "image",
    src: "data/sprite/boy.png"
},
{ // Adult spritesheet
    name: "adult",
    type: "image",
    src: "data/sprite/adult.png"
},
{ // game font
    name: "font1",
    type: "image",
    src: "data/sprite/font1.png"
},
{ // game font 2
    name: "font2",
    type: "image",
    src: "data/sprite/font2.png"
},
{ // screen title
    name: "title_screen",
    type: "image",
    src: "data/GUI/title_screen.png"
},
{
    name: "scenario_screen",
    type: "image",
    src: "data/GUI/scenario_screen.png"
},
{
    name: "footer_past",
    type: "image",
    src: "data/GUI/footer_past.png"
},
{
    name: "footer_present",
    type: "image",
    src: "data/GUI/footer_present.png"
},
{
    name: "footer_future",
    type: "image",
    src: "data/GUI/footer_future.png"
},
// { // Level Announce
    // name: "levelAnnouce_1",
    // type: "image",
    // src: "data/GUI/levelAnnouce_1.png"
// },
// { // Level Announce 2
    // name: "levelAnnouce_2",
    // type: "image",
    // src: "data/GUI/levelAnnouce_2.png"
// },
// { // Level Announce 3
    // name: "levelAnnouce_3",
    // type: "image",
    // src: "data/GUI/levelAnnouce_3.png"
// },
// { // Level Announce 4
    // name: "levelAnnouce_4",
    // type: "image",
    // src: "data/GUI/levelAnnouce_4.png"
// },
{ // Audio
    name: "cling",
    type: "audio",
    src: "data/audio/",
    channel: 1
},{ // Audio
    name: "stomp",
    type: "audio",
    src: "data/audio/",
    channel: 1
},
{
    name: "music",
    type: "audio",
    src: "data/audio/",
    channel: 1
}
];